<?php foreach ($this->featuredWidget as $featuredWidget): ?>
<?php if ($featuredWidget->name != null): ?>
<?php
	Zend_Date::setOptions(array('format_type' => 'php'));
	$dateDisplay = new Zend_Date($this->escape($featuredWidget->date_added),Zend_Date::ISO_8601);
	$dateDisplay = $dateDisplay->toString('F j, Y, g:i a');
?>
<div class="whatsNewWidgetDiv">
	<a href="<?php echo $this->webInfo.'Jumpsites/WidgetInfo/'.$this->escape($featuredWidget->id); ?>"><img src="images/thumbnail/widget/<?php if ($this->escape($featuredWidget->thumbnails)) echo $this->escape($featuredWidget->thumbnails); else echo 'ifNoThumbnails.jpg'; ?>" alt="<?php echo $featuredWidget->name?>" /></a>
	<h2><a href="<?php echo $this->webInfo.'Jumpsites/WidgetInfo/'.$this->escape($featuredWidget->id); ?>">Widget: <?php echo substr_replace($this->escape($featuredWidget->name), '...', 40); ?></a></h2>
	<h3><?php echo $dateDisplay; ?></h3>
	<p><?php echo substr_replace($this->escape($featuredWidget->desc), '...', 215); ?></p>
</div>
<?php endif; ?>
<?php endforeach; ?>